package cn.gary.oaserver.service;

import cn.gary.oaserver.entity.TDepartment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gary
 * @since 2024-03-15
 */
public interface ITDepartmentService extends IService<TDepartment> {

    /**
     * 查询所有的部门列表(带层级关系的部门列表)
     * @return
     */
    public List<TDepartment> getAllDepartments();

}
